package com.jiepos.mpos.inter.push.getui;

public enum GTConstant {
	
	successed_ignore("successed_ignore", "无效用户，消息丢弃"),
	failed("failed", "将cid列表加入黑名单失败"),
	invalidCidList("invalidCidList", "无效的cid列表"),
	StopTaskError("StopTaskError", "停止任务失败"),
	NotInDealRange("NotInDealRange", "该任务不在停止任务的范围内"),
	Error("Error", "请求信息填写有误"),
	AppidError("AppidError", "clientid绑定的appid与推送的appid不符"),
	AppKeyError("AppKeyError", "Appkey填写错误"),
	sign_error("sign_error", "Appkey与ClientId不匹配，鉴权失败"),
	domain_error("domain_error", "填写的域名错误或者无法解析"),
	action_error("action_error", "未找到对应的action动作"),
	PushTotalNumOverLimit("PushTotalNumOverLimit", "推送消息个数总数超限"),
	TokenMD5NoUsers("TokenMD5NoUsers", "在系统中未查找到用户"),
	TargetListIsNullOrSizeIs0("TargetListIsNullOrSizeIs0", "目标用户列表为空"),
	taskIdNullError("taskIdNullError", "任务Id为空"),
	ServiceError("ServiceError", "service错误"),
	AppidNoAppSecret("AppidNoAppSecret", "appId没有对应的appSecret"),
	AppidNoMatchAppKey("AppidNoMatchAppKey", "appid未找到对应的appkey"),
	TaskIdNotMatchAppKey("TaskIdNotMatchAppKey", "taskId找不到对应的appKey"),
	NullMsgCommon("NullMsgCommon", "未找到消息公共体"),
	PushMsgToListTimesOverLimit("PushMsgToListTimesOverLimit", "群推消息次数超限"),
	PushMsgToAppTimesOverLimit("PushMsgToAppTimesOverLimit", "群推消息次数超限"),
	SendError("SendError", "消息发送失败"),
	SynSendError("SynSendError", "报文发送错误"),
	Online("Online", "在线"),
	Offline("Offline", "离线"),
	Nobind("Nobind", "cid未绑定appid"),
	FlowExceeded("FlowExceeded", "接口消息推送流量已超限"),
	BlackAppId("BlackAppId", "appId为黑名单"),
	TokenMD5Error("TokenMD5Error", "cid填写错误"),
	TagsNoUsers("TagsNoUsers", "标签找不到对应用户"),
	AppIdNoUsers("AppIdNoUsers", "appid下找不到对应用户"),
	NoSuchTaskId("NoSuchTaskId", "无效contentid"),
	OverLimit("OverLimit", "每个clientId在24小时内只能设置一次"),
	ParsePushInfoError("ParsePushInfoError", "pushinfo消息格式有误"),
	DeviceTokenError("DeviceTokenError", "无效devicetoken"),
	NoTargetDeviceToken("NoTargetDeviceToken", "没有填写devicetoken"),
	NOTarget("NOTarget", "没有推送目标"),
	TagInvalidOrNoAuth("TagInvalidOrNoAuth", "无效的变迁或没鉴权"),
	AliasNotBind("AliasNotBind", "别名没有绑定"),
	OtherError("OtherError", "未知错误，无法判定错误类型"),
	GroupNumOverLimit("GroupNumOverLimit", "直播间超过套餐值"),
	GroupCidNumOverLimit("GroupCidNumOverLimit", "单个直播间的cid数超过套餐值"),
	PushTooFrequency("PushTooFrequency", "直播间推送过频"),
	PushTotalOverLimit("PushTotalOverLimit", "直播间当天推送总数超限"),
	AppidOrGroupidErr("AppidOrGroupidErr", "直播间查询传入的appid和groupid不对应");

	private String responseCode;
	
	private String responseText;
	
	public String getResponseCode() {
		return responseCode;
	}

	public void setResponseCode(String responseCode) {
		this.responseCode = responseCode;
	}
	
	public String getResponseText() {
		return responseText;
	}

	public void setResponseText(String responseText) {
		this.responseText = responseText;
	}

	private GTConstant(String responseCode, String responseText){
		this.responseCode = responseCode;
		this.responseText = responseText;
	}
}
